/*
 * @Author: CNN 969682281@qq.com
 * @Date: 2023-06-09 13:26:12
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-20 17:56:12
 * @FilePath: \newMould_BHZ\src\views\QualityGridManage\workOrder\distribute\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    formData: {
        fId: "",
        fProjectid: "",
        fProjectname: "",
        fCompanyid: "",
        fCompanyname: "",
        fCreateuserid: "",
        fCreateusername: "",
        fModifyuserid: "",
        fModifydate: null,
        fModifyusername: "",
        fCheckunit: "", //涉及单位
        fCheckunitid: "", //涉及单位id
        fCheckproject: "", //涉及项目
        fCheckprojectid: "", //涉及项目
        fGridmantype: "", //网格员类别
        fSubgridmanid: "", //指定网格员id
        fSubgridmanname: "", //指定网格员姓名
        fProblemdescription: "", //存在问题简述
        fFileurl: "", //相关现场资料
        fHasproblemdates: "", //发现问题日期
        fReportid: "", //填报人id
        fReportname: "", //填报人
        fReportdates: "", //填报日期
        fCheckresult: "", //处理结果
        fCheckfile: "", //处理过程相关资料
        fCheckdescription: "", //问题处理简述
        fGridmanid: "", //网格员id
        fGridmanname: "", //网格员姓名
        fCheckdates: "", //完成日期
        fStatus: "", //信息状态
        fIsdeleted: "",
    },

    // 质量工作在线沟通
    FromShowText: [{
            input: true, //是input
            label: "涉及单位", //字段
            prop: "fCheckunit", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择涉及单位'
            }] //验证
        },
        {
            input: true, //是input
            label: "涉及项目", //字段
            prop: "fCheckproject", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择涉及项目'
            }] //验证
        },
        {
            selects: true, //是input
            label: "网格员类别", //字段
            prop: "fGridmantype", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options: [{
                value: "施工项目部",
                label: "施工项目部",
            }, {
                value: "试验检测中心",
                label: "试验检测中心",
            }, {
                value: "监理单位",
                label: "监理单位",
            }, {
                value: "分子公司",
                label: "分子公司",
            }, ],
            rules: [{
                required: true,
                message: '请选择网格员类别'
            }] //验证

        },

        {
            selects: true, //是input
            label: "指定网格员", //字段
            prop: "fSubgridmanname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            placeholder: '请先填写涉及项目和网格员类别',
            options: [{
                value: "施工项目部",
                label: "施工项目部",
            }, ],
            rules: [{
                required: true,
                message: '请选择指定网格员'
            }] //验证

        },
        {
            input: true, //是input
            label: "存在问题简述", //字段
            prop: "fProblemdescription", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请填写存在问题简述'
            }] //验证
        },

        {
            label: "相关现场资料", //字段
            prop: "fFileurl", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
        },
        {
            datePicker: true, //是input
            label: "发现问题日期", //字段
            prop: "fHasproblemdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择开始检查日期'
            }] //验证
        },

        {
            input: true, //是input
            label: "填报人", //字段
            prop: "fReportname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '请填写填报人'
            }] //验证
        }, {
            datePicker: true, //是input
            label: "填报日期", //字段
            prop: "fReportdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择填报日期'
            }] //验证
        },
    ],
    FromShowLook: [{
            input: true, //是input
            label: "涉及单位", //字段
            prop: "fCheckunit", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },
        {
            input: true, //是input
            label: "涉及项目", //字段
            prop: "fCheckproject", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },
        {
            input: true, //是input
            label: "网格员类别", //字段
            prop: "fGridmantype", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        }, {
            input: true, //是input
            label: "指定网格员", //字段
            prop: "fSubgridmanname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        }, {
            input: true, //是input
            label: "存在问题简述", //字段
            prop: "fProblemdescription", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
        },
        {
            label: "相关现场资料", //字段
            prop: "fFileurl", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            upload: true,
            uploadSelect: false,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
        },
        {
            input: true, //是input
            label: "发现问题日期", //字段
            prop: "fHasproblemdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        }, {
            input: true, //是input
            label: "填报人", //字段
            prop: "fReportname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        }, {
            input: true, //是input
            label: "填报日期", //字段
            prop: "fReportdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },

    ],


    // 质量工作在线沟通

    // 问题处理情况
    putAwayText: [{
            selects: true, //是input
            label: "处理结果", //字段
            prop: "fCheckresult", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options: [{
                value: "问题处理结束",
                label: "问题处理结束",
            }, {
                value: "问题正在处理中",
                label: "问题正在处理中",
            }, ],
            rules: [{
                required: true,
                message: '请选择处理结果'
            }] //验证

        },
        {
            label: "处理过程相关资料", //字段
            prop: "fCheckfile", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: true,
                message: '请上传处理过程相关资料'
            }] //验证
        },
        {
            input: true, //是input
            label: "问题处理简述", //字段
            prop: "fCheckdescription", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请填写问题处理简述'
            }] //验证

        },

        {
            input: true, //是input
            label: "网格员", //字段
            prop: "fGridmanname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '请填写网格员'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "完成日期", //字段
            prop: "fCheckdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择完成日期'
            }] //验证
        },
    ],
    putAwayLook: [{
            input: true, //是input
            label: "处理结果", //字段
            prop: "fCheckresult", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },
        {
            label: "处理过程相关资料", //字段
            prop: "fCheckfile", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            upload: true,
            uploadSelect: false,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
        },
        {
            input: true, //是input
            label: "问题处理简述", //字段
            prop: "fCheckdescription", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
        },
        {
            input: true, //是input
            label: "网格员", //字段
            prop: "fGridmanname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        }, {
            input: true, //是input
            label: "完成日期", //字段
            prop: "fCheckdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        }
    ],
    // 问题处理情况





    // 主页列表---查看页面
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [
            // {
            //     label: '指令状态',
            //     prop: 'fstatus',
            //     minWidth: '90px',
            //     align: "center",
            //     warnNum: "warning",
            // },
            {
                label: '发现问题日期',
                prop: 'fHasproblemdates',
                minWidth: '80px',
                align: "center",
            },
            {
                label: '涉及单位',
                prop: 'fCheckunit',
                minWidth: '140px',
                align: "left",
                Jump: true,

            },
            {
                label: '涉及项目',
                prop: 'fCheckproject',
                minWidth: '130px',
                align: "left",
            },
            {
                label: '网格员类别',
                prop: 'fGridmantype',
                minWidth: '80px',
                align: "center",
            },
            {
                label: '指定网格员',
                prop: 'fSubgridmanname',
                minWidth: '80px',
                align: "left",
            },
            {
                label: '存在问题简述',
                prop: 'fProblemdescription',
                minWidth: '140px',
                align: "left",
            },
            {
                label: '填报人',
                prop: 'fReportname',
                minWidth: '70px',
                align: "center",
            },
            {
                label: '填报日期',
                prop: 'fReportdates',
                minWidth: '80px',
                align: "center",
            },
            {
                label: '网格员',
                prop: 'fGridmanname',
                minWidth: '70px',
                align: "center",
            },
            {
                label: '完成日期',
                prop: 'fCheckdates',
                minWidth: '70px',
                align: "center",
            },
            {
                label: '处理结果',
                prop: 'fCheckresult',
                minWidth: '90px',
                align: "center",
            },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '指令状态',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

    // 主页列表---编辑页面
    // table_configText: {
    //     imgKeyWord: "url",
    //     fileKeyWord: "url",
    //     fileName: "fFileName",
    //     dialogHeight: '',
    //     thead: [
    //         {
    //             label: '发现问题日期',
    //             prop: 'fUnittype',
    //             minWidth: '100px',
    //             align: "center",
    //         },
    //         {
    //             label: '涉及单位',
    //             prop: 'fIssueunit',
    //             minWidth: '140px',
    //             align: "left",
    //             Jump: true,

    //         },
    //         {
    //             label: '涉及项目',
    //             prop: 'fOrdernumber',
    //             minWidth: '100px',
    //             align: "left",
    //         },
    //         {
    //             label: '网格员类别',
    //             prop: 'fCheckunit',
    //             minWidth: '140px',
    //             align: "left",
    //         },
    //         {
    //             label: '指定网格员',
    //             prop: 'fCheckunit2',
    //             minWidth: '140px',
    //             align: "left",
    //         },
    //         {
    //             label: '存在问题简述',
    //             prop: 'fCheckproject',
    //             minWidth: '140px',
    //             align: "left",
    //         },
    //         {
    //             label: '填报人',
    //             prop: 'fStartcheckdates',
    //             minWidth: '90px',
    //             align: "center",
    //         },
    //         {
    //             label: '填报日期',
    //             prop: 'fEndcheckdates',
    //             minWidth: '90px',
    //             align: "center",
    //         },
    //         {
    //             label: '网格员',
    //             prop: 'fReportname',
    //             minWidth: '70px',
    //             align: "center",
    //         },
    //         {
    //             label: '完成日期',
    //             prop: 'fReportdates',
    //             minWidth: '90px',
    //             align: "center",
    //         },
    //         {
    //             label: '处理结果',
    //             prop: 'fSignname1',
    //             minWidth: '70px',
    //             align: "center",
    //         },

    //     ],
    //     isCheckBox: false,
    //     isIndex: true,
    //     isOperation: true,
    //     // 表格操作列
    //     operation: {
    //         label: '信息状态',
    //         width: '70',
    //         detail: true,
    //         prop: true,
    //         cols: [],
    //     },
    // },


}